// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.0

package CustomerRelationsManagement;

/**
 *
 * @author Administrator
 */
public interface orderPrx extends Ice.ObjectPrx
{
    /**
     *
     * @return
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public int getId()
        throws RecordNotCommitted;
    /**
     *
     * @param __ctx
     * @return
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public int getId(java.util.Map<String, String> __ctx)
        throws RecordNotCommitted;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     */
    public void save()
        throws DBError;
    /**
     *
     * @param __ctx
     * @throws CustomerRelationsManagement.DBError
     */
    public void save(java.util.Map<String, String> __ctx)
        throws DBError;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public void delete()
        throws DBError,
               RecordNotCommitted;
    /**
     *
     * @param __ctx
     * @throws CustomerRelationsManagement.DBError
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public void delete(java.util.Map<String, String> __ctx)
        throws DBError,
               RecordNotCommitted;

    /**
     *
     * @return
     */
    public int getCustomer();
    /**
     *
     * @param __ctx
     * @return
     */
    public int getCustomer(java.util.Map<String, String> __ctx);

    /**
     *
     * @param CustomerId
     */
    public void setCustomer(int CustomerId);
    /**
     *
     * @param CustomerId
     * @param __ctx
     */
    public void setCustomer(int CustomerId, java.util.Map<String, String> __ctx);

    /**
     *
     * @return
     */
    public String getSrc();
    /**
     *
     * @param __ctx
     * @return
     */
    public String getSrc(java.util.Map<String, String> __ctx);

    /**
     *
     * @return
     */
    public String getDst();
    /**
     *
     * @param __ctx
     * @return
     */
    public String getDst(java.util.Map<String, String> __ctx);

    /**
     *
     * @param src
     */
    public void setSrc(String src);
    /**
     *
     * @param src
     * @param __ctx
     */
    public void setSrc(String src, java.util.Map<String, String> __ctx);

    /**
     *
     * @param dst
     */
    public void setDst(String dst);
    /**
     *
     * @param dst
     * @param __ctx
     */
    public void setDst(String dst, java.util.Map<String, String> __ctx);

    /**
     *
     * @return
     */
    public float getWeight();
    /**
     *
     * @param __ctx
     * @return
     */
    public float getWeight(java.util.Map<String, String> __ctx);

    /**
     *
     * @param weight
     */
    public void setWeight(float weight);
    /**
     *
     * @param weight
     * @param __ctx
     */
    public void setWeight(float weight, java.util.Map<String, String> __ctx);

    /**
     *
     * @return
     */
    public datetime getDeadline();
    /**
     *
     * @param __ctx
     * @return
     */
    public datetime getDeadline(java.util.Map<String, String> __ctx);

    /**
     *
     * @param deadline
     */
    public void setDeadline(datetime deadline);
    /**
     *
     * @param deadline
     * @param __ctx
     */
    public void setDeadline(datetime deadline, java.util.Map<String, String> __ctx);

    /**
     *
     * @return
     */
    public OrderStatus getStatus();
    /**
     *
     * @param __ctx
     * @return
     */
    public OrderStatus getStatus(java.util.Map<String, String> __ctx);

    /**
     *
     * @param status
     */
    public void setStatus(OrderStatus status);
    /**
     *
     * @param status
     * @param __ctx
     */
    public void setStatus(OrderStatus status, java.util.Map<String, String> __ctx);
}
